home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
cnet
/
brb_handlebars.lha
/
Handle_Bars
< prev
next >
Wrap
Text File
|
1995-10-15
|
2KB
|
34 lines
/**************************************************************************\
$VER: Handle Bars, v1.70 (15-Oct-95) by Dotoran!
\**************************************************************************/
options results;signal on SYNTAX;signal on ERROR;signal on IOERR
tr=transmit;se=sendstring;gc=getchar;gu=getuser;gs=getscratch
gu 1;handle=upper(result);colors='01234569abcdef'
shape='█' /* Character used to define BARS! */
START:;tr 'f1n1z2cf Handle Bars v1.70 z0'
tr 'z2cb z0'
do i=1 to length(handle);L=substr(handle,i,1)
d=datatype(L,'u');a=c2d(L)-64;b=a;if b>13 then b=b-13
if d=0 then do;a=0;b=0;end
se 'z2 cf'L' z0c'substr(colors,b+1,1)
tr left(copies(shape,a),27)'z2 z0'
end i;tr 'z2cf Every Handle Is Unique! z0n1'
se 'c2(ceHc2)ceandlec2, (cfTc2)cfextc2, '
se 'or c2[cdQc2]cduitc2: ';gc;a=result
if a='Q' | index('HT',a)=0 then do;tr 'cdQuit';exit;end
if a='H' then do;tr 'ceHandlen1';signal NEWHANDLE;end
se 'cfText Stringn2c2Enter cfText c2Stringcf:cei529 16}';gu 70
handle=result;signal START
NEWHANDLE:;se 'c2Enter ceID c2Numberce:cfi192 3}';gu 70;a=result
findaccount a;st=result;if st=0 then do
tr 'n1c2That is an c9Invalid c2ID#c2!';exit;end
loadscratch st;gs 1;handle=upper(result);savescratch (-st)
signal START
SYNTAX:;ERROR:;IOERR:;e1=' Error: 'rc' ('errortext(rc)')'
e2=' Line: 'left(sigl,4)'File:';gu 1311992;a=result;gu 1311960;b=result;c='"'a||b'"';e2=e2' 'c;tr e1;tr e2;logentry e1;logentry e2
e=sourceline(sigl);do while e~='';e3='Source: 'left(e,37);tr e3;logentry e3;e=substr(e,38);end;bufferflush;exit
/** Last Edited: 15-Oct-95 ************************************************\
\****************************************** Frontiers BBS (716)/823-9892 **/